@charset "UTF-8";
/* =========================== 默认样式重置 =========================== */
ul,
menu,
dir {
  -webkit-padding-start: 0;
}

/* =========================== 版式相关 =========================== */
html,
body {
  font-family: 'San Francisco', 'Helvetica Neue', Helvetica, 'Lucida Grande', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', 'WenQuanYi Microhei', 'XinGothic CiticPress', 'Noto Sans CJK SC', 'Source Han Sans', 'Microsoft YaHei', Arial, Sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-top: .7em;
  margin-bottom: .2em;
  line-height: 1.7;
}

h1,
.h1 {
  font-size: 3.2rem;
}

h2,
.h2 {
  font-size: 2.8rem;
}

h3,
.h3 {
  font-size: 2.4rem;
}

h4,
.h4 {
  font-size: 2rem;
}

@media screen and (max-width: 480px) {
  h4,
  .h4 {
    font-size: 1.6rem;
  }
}

h5,
.h5 {
  font-size: 1.8rem;
}

@media screen and (max-width: 480px) {
  h5,
  .h5 {
    font-size: 1.4rem;
  }
}

h6,
.h6 {
  font-size: 1.6rem;
}

@media screen and (max-width: 480px) {
  h6,
  .h6 {
    font-size: 1.2rem;
  }
}

p {
  font-size: 1.4rem;
  text-align: justify;
  text-justify: inter-ideographic;
}

@media screen and (max-width: 480px) {
  p {
    font-size: 1.2rem;
    text-align: left;
  }
}

/* =========================== Panel =========================== */
.section-title {
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}

@media screen and (max-width: 480px) {
  .section-title {
    margin-bottom: 1rem;
  }
}

.primary-line {
  border-bottom: 1px solid #fb8700;
}

.secondary-line {
  border-bottom: 1px solid #46c37b;
}

.section-more {
  font-size: 1.4rem;
  line-height: 3.2rem;
}

@media screen and (max-width: 480px) {
  .section-more {
    font-size: 1.2rem;
    line-height: 2.4rem;
  }
}

.text-wrap {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* =========================== 轮播图 =========================== */
@media screen and (min-width: 992px) {
  .es-poster.swiper-container {
    width: 1140px;
    margin-top: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .es-poster.swiper-container .swiper-wrapper {
    width: 1140px;
    height: 100px;
  }
}

.es-poster.swiper-container .swiper-slide .container {
  padding: 0;
}

.es-poster.swiper-container .swiper-slide img {
  margin: 0;
}

.es-poster.swiper-container .swiper-pager {
  bottom: 5px;
}

.es-poster.swiper-container .swiper-pager span {
  width: 8px;
  height: 8px;
}

/* =========================== 资讯 =========================== */
.news-section {
  padding-bottom: 1rem;
}

.news-panel {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media screen and (max-width: 480px) {
  .news-panel {
    padding-left: 0;
    padding-right: 0;
  }
}

.news-panel .list-item {
  padding-top: .2rem;
  padding-bottom: .2rem;
  border-bottom: 1px solid #f5f5f5;
}

@media screen and (max-width: 480px) {
  .news-panel .list-item {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
}

.news-panel .list-item:nth-last-child(1) {
  border-bottom: none;
}

.news-section li {
  list-style: none;
}

.news-img {
  width: 130px;
  height: 100px;
  background-color: #fafafa;
}

.news-title {
  margin-top: 0;
}

@media screen and (max-width: 480px) {
  .news-title {
    white-space: normal;
  }
}

.news-title a {
  color: #313131;
}

.news-title a:hover, .news-title a:active {
  color: #000;
}

@media screen and (min-width: 768px) {
  .news-title a {
    font-size: 1.6rem;
  }
}

.news-summary {
  color: #919191;
}

.news-tag a {
  margin-right: 1rem;
}

/* =========================== 课程 =========================== */
.course-collection .course-item {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e1e1e1;
}

.course-collection .course-item:last-child {
  border-bottom: none;
}

.course-collection .course-item .title {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 480px) {
  .course-collection .course-item .title {
    margin-top: 0.8rem;
    margin-bottom: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}

.course-collection .course-item .title a {
  font-size: 1.6rem;
}

.onlie-course {
  background-color: #46c37b;
}

.offline-course {
  background-color: #2db7f5;
}

.course-price,
.course-join {
  text-align: center;
}

/* =========================== 老师 =========================== */
.teacher-item .title {
  font-size: 1.8rem;
  line-height: 18px;
}

/* =========================== 论坛 =========================== */
.forum-section .panel {
  margin-top: 0;
}

.forum-section .grid .title {
  font-size: 1.6rem;
}

.forum-data {
  font-size: 1.2rem;
  color: #c1c1c1;
}

.forum-section .post-title {
  color: #313131;
}

@media screen and (max-width: 480px) {
  .forum-section .post-title {
    font-size: 1.4rem;
  }
}

.forum-section .post-category {
  color: #fb8700;
}

.forum-section .post-people {
  font-size: 1.2rem;
  line-height: 27px;
  color: #c1c1c1;
}

/* =========================== 班级 =========================== */
.class-item .class-img img {
  display: block;
  background-color: #f5f5f5;
}

.student-count {
  font-size: 1.2rem;
}

/* =========================== 课程分类 =========================== */
.classroom-category .panel {
  margin-top: 0;
}

.classroom-category .panel-default > .panel-heading {
  padding: 0;
}

.classroom-category .panel-body {
  padding-bottom: 0;
}

.classroom-category li {
  list-style: none;
}

.classroom-category .list-item a {
  display: inline-block;
  margin-right: 5px;
}

/* =========================== 关于我们 =========================== */
@media screen and (max-width: 480px) {
  .aboutUs-section .col-xs-12 img {
    display: block;
    margin: 0 auto 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .aboutUs-section .company-intro {
    font-size: 1.4rem;
  }
}

/* =========================== 课程分类 =========================== */
.course-category {
  padding: 4px;
  border-radius: 4px;
  font-size: 1rem;
  color: #fff;
}

/* =========================== 二维码 =========================== */
.wechat-intro {
  margin-top: 1rem;
}

/* =========================== 我们的优势 =========================== */
@media screen and (max-width: 480px) {
  .advantage {
    font-size: 1.4rem;
  }
}
